#ifndef __STDTHREAD_H_
#define __STDTHREAD_H_


struct StdThread;
typedef struct StdThread Thread;

Thread *InitThread(void* (*funcPtr)(void *),void *arg);
//线程等待
void* ThreadJoin(Thread *t);
void ThreadDetach(Thread *t);
void ThreadCancel(Thread *t);
unsigned long int GetThreadId(Thread *t);
void ClearThread(Thread *t);

#endif